Skip to main content

Pnorm

This function only supports the computation of pnorms where p is even and greater than zero.

This is a function that computes the pnorm of a tensor. The function vectorizes the tensor input, and computes the pnorm over the axis/axes specified by the user. By default, if no axis/axes are specified, the pnorm of the entire tensor is computed.

.. autofunction:: csdl.std.pnorm.pnorm

Examples for all the possible use cases are provided below.

.. toctree:: :maxdepth: 1 :titlesonly:

ex_pnorm_axisfree.rst ex_pnorm_axiswise.rst